package com.zzxu.actdemo;

import android.os.Bundle;
import android.widget.TextView;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

public class actReceiveActivity extends AppCompatActivity {

    private TextView tv_receive;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_act_receive);
        tv_receive = findViewById(R.id.tv_receive);
        //获取上一个页面传来意图中获取快递包裹
            Bundle bundle=getIntent().getExtras();
            String request_time=bundle.getString("request_time");
            String request_content=bundle.getString("request_content");
            String desc =String.format("收到请求： \n 请求时间为%s\n请求内容为%s",request_time,request_content);
            tv_receive.setText(desc);
    }
}